package com.jinlejia.erp.ui.mine.contract;

import android.content.Intent;
import android.os.Bundle;

import androidx.databinding.DataBindingUtil;

import com.jinlejia.erp.R;
import com.jinlejia.erp.base.BaseActivity;
import com.jinlejia.erp.databinding.ActivityMyContractBinding;

/**
 * 我的合同(activity)
 */

public class MyContractActivity extends BaseActivity {


    private ActivityMyContractBinding binding;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this, R.layout.activity_my_contract);

        binding.backBtn.setOnClickListener(view -> finish());

        binding.manager.setOnClickListener(view -> startActivity(new Intent(MyContractActivity.this, ContractManagerActivity.class)));

        binding.goldKey.setOnClickListener(view -> startActivity(new Intent(MyContractActivity.this, GoldenKeyActivity.class)));
    }

}
